package cn.sirun.com.fca.map.view.impl;

import android.app.Activity;

import com.tencent.cloud.iov.common.flow.view.impl.BaseLoadingFlowView;
import com.tencent.cloud.iov.flow.presenter.IPresenter;
import com.tencent.cloud.iov.flow.view.IContentViewContainer;

import cn.sirun.com.fca.map.uitl.RequestExceptionUtils;
import cn.sirun.com.fca.map.view.IMapBaseView;

/**
 * @author vinsonhuang
 * @date 2018/10/25
 */
public abstract class MapBaseLoadingFlowView<T extends IPresenter>
        extends BaseLoadingFlowView<T> implements IMapBaseView {

    public MapBaseLoadingFlowView(Activity activity) {
        super(activity);
    }

    public MapBaseLoadingFlowView(Activity activity, IContentViewContainer container) {
        super(activity, container);
    }

    @Override
    public void onRequestException(Throwable throwable) {
        RequestExceptionUtils.handleException(this, throwable);
    }
}
